// src/api/learn.js
import instance from '../utils/request.js'; 

export const selectAll = () => instance.get('/learn/selectAll');

export const getLearnRecordsByUserId = (userId) => instance.get(`/learn/selectByUserId?userId=${userId}`);